import service from "..";

export function addArticle(params) {
    return service({
        url: "/article/add",
        method: "post",
        data: params
    })
}
export function login(params) {
    return service({
        url: "/user/login",
        method: "post",
        data: params
    })
}